decodeResponse decodes nested data values